package com.darren.euc.dao;

import java.util.List;

import com.darren.euc.entity.ContractTemplate;


public interface ContractTemplateDao extends BaseDao<ContractTemplate,Integer>{
	
    public List<ContractTemplate> getAll(); 
    
    public List<ContractTemplate> getAllEnable(); 
    
    public List<ContractTemplate> getAvaliableContractTemplateByType(String TempleteType);
    
    public List<ContractTemplate> getAvaliableContractTemplateBySpaceId(Integer spaceId);
    
    public List<ContractTemplate> getEnableContractTemplateBySpaceIdNotEquelsId(Integer spaceId,Integer templateid,Integer contractType);
    
    public List<ContractTemplate> getAvaliableAll();     
    
}